package com.foreknow.entity;

import java.io.Serializable;
import java.util.Date;

public class Checkapply implements Serializable {
    /**
     * ID主键
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 病历ID
     *
     * @mbggenerated
     */
    private Integer medicalid;

    /**
     * 挂号ID
     *
     * @mbggenerated
     */
    private Integer registid;

    /**
     * 项目ID
     *
     * @mbggenerated
     */
    private Integer itemid;

    /**
     * 项目名称
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 目的要求
     *
     * @mbggenerated
     */
    private String objective;

    /**
     * 检查部位
     *
     * @mbggenerated
     */
    private String position;

    /**
     * 是否加急 1为加急 0为不加急
     *
     * @mbggenerated
     */
    private Integer isurgent;

    /**
     * 数量
     *
     * @mbggenerated
     */
    private Integer num;

    /**
     * 开立时间
     *
     * @mbggenerated
     */
    private Date creationtime;

    /**
     * 开立医生ID
     *
     * @mbggenerated
     */
    private Integer doctorid;

    /**
     * 检查人员ID
     *
     * @mbggenerated
     */
    private Integer checkoperid;

    /**
     * 结果录入人员ID
     *
     * @mbggenerated
     */
    private Integer resultoperid;

    /**
     * 检查时间
     *
     * @mbggenerated
     */
    private Date checktime;

    /**
     * 检查结果
     *
     * @mbggenerated
     */
    private String result;

    /**
     * 结果时间
     *
     * @mbggenerated
     */
    private Date resulttime;

    /**
     * 状态
     *
     * @mbggenerated
     */
    private Integer state;

    /**
     * 记录类型 1-检查 2-检验 3-处置
     *
     * @mbggenerated
     */
    private Integer recordtype;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicalid() {
        return medicalid;
    }

    public void setMedicalid(Integer medicalid) {
        this.medicalid = medicalid;
    }

    public Integer getRegistid() {
        return registid;
    }

    public void setRegistid(Integer registid) {
        this.registid = registid;
    }

    public Integer getItemid() {
        return itemid;
    }

    public void setItemid(Integer itemid) {
        this.itemid = itemid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getObjective() {
        return objective;
    }

    public void setObjective(String objective) {
        this.objective = objective;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getIsurgent() {
        return isurgent;
    }

    public void setIsurgent(Integer isurgent) {
        this.isurgent = isurgent;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    public Integer getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(Integer doctorid) {
        this.doctorid = doctorid;
    }

    public Integer getCheckoperid() {
        return checkoperid;
    }

    public void setCheckoperid(Integer checkoperid) {
        this.checkoperid = checkoperid;
    }

    public Integer getResultoperid() {
        return resultoperid;
    }

    public void setResultoperid(Integer resultoperid) {
        this.resultoperid = resultoperid;
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Date getResulttime() {
        return resulttime;
    }

    public void setResulttime(Date resulttime) {
        this.resulttime = resulttime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getRecordtype() {
        return recordtype;
    }

    public void setRecordtype(Integer recordtype) {
        this.recordtype = recordtype;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", medicalid=").append(medicalid);
        sb.append(", registid=").append(registid);
        sb.append(", itemid=").append(itemid);
        sb.append(", name=").append(name);
        sb.append(", objective=").append(objective);
        sb.append(", position=").append(position);
        sb.append(", isurgent=").append(isurgent);
        sb.append(", num=").append(num);
        sb.append(", creationtime=").append(creationtime);
        sb.append(", doctorid=").append(doctorid);
        sb.append(", checkoperid=").append(checkoperid);
        sb.append(", resultoperid=").append(resultoperid);
        sb.append(", checktime=").append(checktime);
        sb.append(", result=").append(result);
        sb.append(", resulttime=").append(resulttime);
        sb.append(", state=").append(state);
        sb.append(", recordtype=").append(recordtype);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}